<#assign s=JspTaglibs["/WEB-INF/tld/struts-tags.tld"] />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#import "/WEB-INF/tpl/public/DetailHead.ftl" as dHead> <@dHead.detailHead title="角色管理">
<link rel="stylesheet" type="text/css" href="${c}/css/${USER_SESSION.theme}/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" href="${c}/js/ztree/zTreeStyle.css" />
<script language="javascript" src="${c}/js/ui/i18n/grid.locale-cn.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.jqGrid.min.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.ui.accordion.min.js"></script>
<script language="javascript" src="${c}/js/ztree/jquery.ztree-2.6.min.js"></script>
<script language="javascript" src="${c}/js/core/base.js"></script>
<script language="javascript" src="${c}/js/core/rolepermission_tree.js"></script>
<script language="javascript" src="${c}/js/oa/system/role-permission.js"></script>
</@dHead.detailHead>
<body>

<#import "/WEB-INF/tpl/public/DetailContent.ftl" as dc>
<@dc.detailContent title="角色权限配置">
<table align="center" width="100%">
	<tr>
		<td colspan="3" class="subtitle">角色信息</td>
		<@s.hidden name="role.role_id" id="role_id" Class="required"/>
	</tr>
	<tr>
		<td width="15%" class="label">角色名称:</td>
		<td><@s.property value="role.role_name"/></span></td>
	</tr>
	<tr>
		<td width="15%" class="label">角色介绍:</td>
		<td><@s.property value="role.description"/></td>
	</tr>
	<tr><td colspan="3" class="subtitle">角色权限配置</td></tr>
	<tr>
		<td width="15%" class="label">选择系统:</td>
		<td>
			<@s.select id="system_code" list="systemList" listKey="system_code" listValue="system_name" onChange="onChangeSystem(this, event)"/>
		</td>
	</tr>
	<tr>
		<td width="15%" class="label">角色权限:</td>
		<td>
			<div><ul id="dropdownMenu" class="tree" style="height:200px;overflow-y:scroll;overflow-x:auto;"></ul></div>
		</td>
	</tr>
</table>
<div class="action" align="center">
<input type="button" value="完成" id="saveRoleButt"/>&nbsp;&nbsp;
<input type="button" value="取消" onClick="window.close()"/>&nbsp;&nbsp;</div>
</@dc.detailContent>
</body>
</html>